package com.future.north.manager.Impl;

import com.future.north.dao.UserDao;
import com.future.north.manager.UserManager;
import com.future.north.api.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserManagerImpl implements UserManager {
    @Autowired
    private UserDao userDao;

    @Override
    public User getUserById(Long userId) {
        return userDao.getUserById(userId);
    }
}